﻿using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using OplugFramework.Authorization.Roles;
using OplugFramework.Authorization.Users;
using OplugFramework.MultiTenancy;
using OplugFramework.Portal;

namespace OplugFramework.EntityFrameworkCore
{
    public class OplugFrameworkDbContext : AbpZeroDbContext<Tenant, Role, User, OplugFrameworkDbContext>
    {
        /* Define a DbSet for each entity of the application */
        
        public OplugFrameworkDbContext(DbContextOptions<OplugFrameworkDbContext> options)
            : base(options)
        {
        }

        public DbSet<Attachment> Attachment { get; set; }
    }
}
